﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ChatClient
{
    public partial class buttonOK : Form
    {
        public buttonOK()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            timer1.Enabled = !Enabled;
            View view= new View();
            view.Show();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            
            ClientModel cm = new ClientModel();
           // cm.joinRoom();

        }


    }
}
